import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../view/home.vue')
    }, {
        path: '/peopleManagement',
        name: 'peopleManagement',
        component: () => import('../view/peopleManagement.vue')
    },{
        path:"/projectCenter",
        name:"projectCenter",
        component:()=>import('../view/projectCenter.vue')
    },{
        path:"/projectManagement",
        name:"projectManagement",
        component:()=>import('../view/projectManagement.vue')
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
// Vue.use(router)
export default router